@seb OK, I think you are right that it is a power supply issue. I've tried the same cable directly with a USB power supply and haven't seen the issue happen again. So it might be for some reason that the Macbook USB port (or adapter) cannot supply enough power. Will try it with a LiPo connected.